﻿using HalconDotNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HalconExtension.Services
{
    public class DrawSerivce
    {

        public enum HS_Color { red, green, blue }
        public HSmartWindowControlWPF WindowControlWPF { get; set; }

        public DrawSerivce(HSmartWindowControlWPF windowControlWPF) {
            WindowControlWPF = windowControlWPF;
        }

        public void SetColor(HS_Color hS_Color)
        {
            HOperatorSet.SetColor(WindowControlWPF.HalconWindow, hS_Color.ToString());
        }


    }
}
